//
//  CollisionManager.h
//  EidoTron
//
//  Created by Luca Di Franco on 27/06/11.
//  Copyright 2011 Luca Di Franco. All rights reserved.
//


#ifndef __COLLISION_MANAGER_H__
#define __COLLISION_MANAGER_H__

#include <vector>

class Collider;
class SceneNode;

using std::pair;
using std::vector;

class CollisionManager
{

private:
	static vector< Collider* >* colliders;
	static vector< pair< SceneNode*, SceneNode* > >* collisions;
	
public:
	static void add(Collider* collider);
	static void remove(Collider* collider);
	
	static void checkCollisions();
	static vector< pair< SceneNode*, SceneNode* > >* getCollisions();
	
};

#endif